package com.ktgj.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 卡权益明细券中间对象 rightdetail_coupon
 * 
 * @author ruoyi
 * @date 2021-07-27
 */
public class RightdetailCoupon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 权益明细ID */
    @Excel(name = "权益明细ID")
    private Long rightdetailId;

    /** 优惠券编号 */
    @Excel(name = "优惠券编号")
    private Long couponId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRightdetailId(Long rightdetailId) 
    {
        this.rightdetailId = rightdetailId;
    }

    public Long getRightdetailId() 
    {
        return rightdetailId;
    }
    public void setCouponId(Long couponId) 
    {
        this.couponId = couponId;
    }

    public Long getCouponId() 
    {
        return couponId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rightdetailId", getRightdetailId())
            .append("couponId", getCouponId())
            .toString();
    }
}
